package com.google.ads;

import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.text.TextUtils;
import android.webkit.WebView;
import com.google.ads.b.r;
import com.google.ads.b.s;
import com.google.ads.util.ac;
import com.google.ads.util.ae;
import java.util.HashMap;

public class v
  implements at
{
  public void a(r paramr, HashMap paramHashMap, WebView paramWebView)
  {
    Context localContext = (Context)paramr.g().f.a();
    String str = (String)paramHashMap.get("a");
    if (str != null)
      if (str.equals("resize"))
        q.a(paramWebView, (String)paramHashMap.get("u"));
    do
    {
      return;
      if (str.equals("state"))
      {
        q.a((Activity)paramr.g().e.a(), paramWebView, (String)paramHashMap.get("u"));
        return;
      }
      Intent localIntent = new Intent();
      localIntent.setComponent(new ComponentName("com.google.android.apps.plus", "com.google.android.apps.circles.platform.PlusOneActivity"));
      if (u.a(localIntent, localContext))
        break;
    }
    while (!u.a(new Intent("android.intent.action.VIEW", Uri.parse("market://details?id=com.google.android.apps.plus")), localContext));
    if ((!TextUtils.isEmpty((CharSequence)paramHashMap.get("d"))) && (!TextUtils.isEmpty((CharSequence)paramHashMap.get("o"))) && (!TextUtils.isEmpty((CharSequence)paramHashMap.get("c"))))
    {
      AlertDialog.Builder localBuilder = new AlertDialog.Builder(localContext);
      localBuilder.setMessage((CharSequence)paramHashMap.get("d")).setPositiveButton((CharSequence)paramHashMap.get("o"), new y(paramr)).setNegativeButton((CharSequence)paramHashMap.get("c"), new w());
      localBuilder.create().show();
      return;
    }
    HashMap localHashMap = new HashMap();
    localHashMap.put("u", "market://details?id=com.google.android.apps.plus");
    AdActivity.a(paramr, new s("intent", localHashMap));
    return;
    AdActivity.a(paramr, new s("plusone", paramHashMap));
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.google.ads.v
 * JD-Core Version:    0.6.2
 */